package spingmvcstudent.service;

import spingmvcstudent.pojo.User;

import java.util.List;

public interface UserService {
    public List<User> getAllUser();
    public int addUser(User user);
    public int deleteUser(Integer id);
    public List<User> findById(Integer id);
    public int updateUser(User user);
    public String findByNameAndPassword(String username, String password);


}
